package com.xebest.web.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class XeVenFinSalesBillEntity implements Serializable {
    /**  */
    private Integer id;

    /** 商户编码 */
    private String userCode;

    /** 收款单号 */
    private String sbillCode;

    /** 运营方式  1：自营；2：三方 */
    private Integer operMode;

    /**
     * 供应商名称
     */
    private String venName;

    /** 收款订单号 */
    private String orderId;

    /** 订单支付金额 = 订单总金额+运费总金额-优惠总金额 */
    private BigDecimal payAmount;

    /** 商品总金额 */
    private BigDecimal goodsAmount;

    /** 支付类型 4: 在线支付1：货到付款2：到店自提3：银行汇款 */
    private Integer payType;

    /** 订单状态  ：1 已完成 2 已发货 3待发货 4已取消 5 待分配 6待审核 */
    private Integer orderStatus;

    /** 省份标识 */
    private String caProvinceId;

    /** 城市标识 */
    private String caCityId;

    /** 地区标识 */
    private String caAreaId;

    /** 详细街道地址 */
    private String caStreet;

    /** 收货人 */
    private String caConsignee;

    /** 订单备注 */
    private String orderRemark;

    /** 发货时间 */
    private Date sendTime;

    /** 收款时间（导入后更新） */
    private Date receiveTime;
 
    /** 差异金额 */
    private BigDecimal differAmount;

    /** 收款单实收金额 */
    private BigDecimal realSbillAmount;

    /** 收款状态：1未收款；2部分收款；3：已收款 */
    private Integer sbillStatus;

    /** 收款方式  1：pos:；2：微信；3：其它 */
    private Integer sbillPayType;

    /** 收款单备注 */
    private String sbillRemark;

    /** 创建人 */
    private String createUser;

    /** 创建日期 */
    private Date createDate;

    /** 修改人 */
    private String modfiyUser;

    /** 修改日期 */
    private Date modifyDate;

    /** 版本号 */
    private Integer version;

    /** 是否删除 1未删除 2已删除 */
    private Integer delFlag;

    private BigDecimal epayReceAmt;//应收金额

    /**
     * 收款单商品明细
     */
    List<XeVenFinSalesBillDetailEntity> billDetailEntityList;


    public BigDecimal getEpayReceAmt() {
        return epayReceAmt;
    }

    public void setEpayReceAmt(BigDecimal epayReceAmt) {
        this.epayReceAmt = epayReceAmt;
    }

    public String getVenName() {
        return venName;
    }

    public void setVenName(String venName) {
        this.venName = venName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getSbillCode() {
        return sbillCode;
    }

    public void setSbillCode(String sbillCode) {
        this.sbillCode = sbillCode == null ? null : sbillCode.trim();
    }

    public Integer getOperMode() {
        return operMode;
    }

    public void setOperMode(Integer operMode) {
        this.operMode = operMode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public BigDecimal getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(BigDecimal goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCaProvinceId() {
        return caProvinceId;
    }

    public void setCaProvinceId(String caProvinceId) {
        this.caProvinceId = caProvinceId == null ? null : caProvinceId.trim();
    }

    public String getCaCityId() {
        return caCityId;
    }

    public void setCaCityId(String caCityId) {
        this.caCityId = caCityId == null ? null : caCityId.trim();
    }

    public String getCaAreaId() {
        return caAreaId;
    }

    public void setCaAreaId(String caAreaId) {
        this.caAreaId = caAreaId == null ? null : caAreaId.trim();
    }

    public String getCaStreet() {
        return caStreet;
    }

    public void setCaStreet(String caStreet) {
        this.caStreet = caStreet == null ? null : caStreet.trim();
    }

    public String getCaConsignee() {
        return caConsignee;
    }

    public void setCaConsignee(String caConsignee) {
        this.caConsignee = caConsignee == null ? null : caConsignee.trim();
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark == null ? null : orderRemark.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public BigDecimal getDifferAmount() {
        return differAmount;
    }

    public void setDifferAmount(BigDecimal differAmount) {
        this.differAmount = differAmount;
    }

    public BigDecimal getRealSbillAmount() {
        return realSbillAmount;
    }

    public void setRealSbillAmount(BigDecimal realSbillAmount) {
        this.realSbillAmount = realSbillAmount;
    }

    public Integer getSbillStatus() {
        return sbillStatus;
    }

    public void setSbillStatus(Integer sbillStatus) {
        this.sbillStatus = sbillStatus;
    }

    public Integer getSbillPayType() {
        return sbillPayType;
    }

    public void setSbillPayType(Integer sbillPayType) {
        this.sbillPayType = sbillPayType;
    }

    public String getSbillRemark() {
        return sbillRemark;
    }

    public void setSbillRemark(String sbillRemark) {
        this.sbillRemark = sbillRemark == null ? null : sbillRemark.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModfiyUser() {
        return modfiyUser;
    }

    public void setModfiyUser(String modfiyUser) {
        this.modfiyUser = modfiyUser == null ? null : modfiyUser.trim();
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public List<XeVenFinSalesBillDetailEntity> getBillDetailEntityList() {
        return billDetailEntityList;
    }

    public void setBillDetailEntityList(List<XeVenFinSalesBillDetailEntity> billDetailEntityList) {
        this.billDetailEntityList = billDetailEntityList;
    }
}